package common

import (
	"fmt"
	"io"
)

// Fprintf is an alias to the standard fmt.Fprintf, however, it ignores error
// explicitly (for example to write Stdout object without exposing all the time
// `_, _ = ...`
func Fprintf(w io.Writer, format string, args ...any) {
	_, _ = fmt.Fprintf(w, format, args...)
}

// Fprint is an alias to the standard fmt.Fprint, however, it ignores error
// explicitly (for example to write Stdout object without exposing all the time
// `_, _ = ...`
func Fprint(w io.Writer, args ...any) {
	_, _ = fmt.Fprint(w, args...)
}
